package com.zito.health.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 项目负责人表
 */
@Data
@Table(name="le_item_incharge")
public class ItemIncharge {
    @Id
    private Integer id;
    private Integer itemId;
    private String name;
    private Integer sex;
    @DateTimeFormat(pattern ="yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date birth;
    private Integer education;
    private String major;
    private Integer emphases;
    private String post;
    private Integer title;
    private String phone;
    private String study;
    private String company;
}
